package com.wilson.integration.lease.app.service;

import com.wilson.integration.lease.common.entity.vo.login.LoginVO;
import com.wilson.integration.lease.common.entity.vo.user.UserInfoVO;

public interface LoginService {

    /**
     * 获取短信验证码
     *
     * @param phone
     */
    void getSMSCode(String phone);

    /**
     * 登录
     *
     * @param loginVO
     * @return
     */
    String login(LoginVO loginVO);

    /**
     * 获取登录用户信息
     *
     * @param userId
     * @return
     */
    UserInfoVO getUserInfoById(Long userId);
}
